package com.dd.pojo.entry;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;


@ApiModel("文件夹")
@TableName(value ="sys_folder")
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Builder
public class Folder implements Serializable {

    @ApiModelProperty("文件夹ID")
    @TableId(value = "folder_id")
    private String folderId;


    @ApiModelProperty("文件夹名称")
    @TableField(value = "folder_name")
    private String folderName;

    @ApiModelProperty("父文件夹文")
    @TableField(value = "parent_id")
    private String parentID;



    @ApiModelProperty("文件夹创建")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(value = "upload_time")
    private LocalDateTime uploadTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 889689L;
}